package org.llc.gof.structure.decorator.basic;

/**
 * @author harvey
 */
public class ConcreteDecorator2 extends Decorator {
	
	public ConcreteDecorator2(Component _component){
		super(_component);
	}
	
	private void method2(){
		System.out.println("method2修饰");
	}
	
	@Override
	public void operate(){
		super.operate();
		this.method2();
	}
}
